{dede:page pagesize='30'/}
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title>自定义表单管理</title>
		<link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
		<link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="/static/web/css/admin.css">
	</head>
	<body>
		<div class="container-fluid">
			<ol class="breadcrumb">
				<li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
				<li class="breadcrumb-item active">自定义表单管理</li>
			</ol>
			<div class="card shadow-sm">
				<div class="card-header">自定义表单管理</div>
				<div class="card-body">
					<div class="table-responsive">
						<table class="table table-borderless table-hover">
							<thead>
								<tr>
									<td scope="col">id</td>
									<td scope="col">表单名称</td>
									<td scope="col">数据表名</td>
									<td scope="col">操作</td>
								</tr>
							</thead>
							<tbody>
								{dede:datalist}
								<tr>
									<td>{dede:field.diyid/}</td>
									<td><a href="diy_list.php?action=list&diyid={dede:field.diyid/}">{dede:field.name/}</a></td>
									<td>{dede:field.table/}</td>
									<td>
										<a href="diy_edit.php?diyid={dede:field.diyid/}&dopost=edit" class="btn btn-light btn-sm"><i class="fa fa-pencil-square" title="修改"></i></a>
										<a href="diy_list.php?action=list&diyid={dede:field.diyid/}" class="btn btn-light btn-sm"><i class="fa fa-file-text" title="列表"></i></a>
										<a href="diy_list.php?action=excel&diyid={dede:field.diyid/}" target="_blank" class="btn btn-light btn-sm"><i class="fa fa-share-square" title="导出"></i></a>
										<a href="{dede:global.cfg_phpurl/}/diy.php?action=list&diyid={dede:field.diyid/}" class="btn btn-light btn-sm" target="_blank"><i class="fa fa-eye" title="预览"></i></a>
										<a href="diy_edit.php?diyid={dede:field.diyid/}&dopost=delete" class="btn btn-danger btn-sm"><i class="fa fa-trash" title="删除"></i></a>
									</td>
								</tr>
								{/dede:datalist}
								<tr>
									<td colspan="4"><a href="diy_add.php" class="btn btn-success btn-sm">添加自定义表单</a></td>
								</tr>
							</tbody>
						</table>
					</div>
					{dede:pagelist listsize='6'/}
				</div>
			</div>
		</div>
	</body>
</html>